﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CourseDetail.aspx.cs" Inherits="Viki1.CouseDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="bd" class="w989">
  <div class="cur"><a href="index.aspx">首页</a>&gt;&gt;教师资料</div>
     <div class="h"></div>
     
     <div class="h20"></div>
     <div class="col-l">
<div class="left-menu login">
                    <dl>
                        <dt><p>① 免费水平测试</p><p>② 免费学习计划</p><p>③ 免费试听体验</p></dt>
                        <dd>
                            <form method="post" action="../index.php?m=user&c=index&a=register" id="myform" onsubmit="javascript:chkRegister(this);return false;">
                            <p><span class="e-mail"></span><input name="email"  type="text" maxlength="30" id="email" class="inp" value="E-mail" onblur="if(!this.value){this.value=this.defaultValue;}" onfocus="if (this.value==this.defaultValue){value =''}" /></p>
                            <p><span class="pwd"></span><input name="password"  type="password" maxlength="30" id="password" class="inp" value="输入用户密码" onblur="if(!this.value){this.value='';}" onfocus="if (this.value==this.defaultValue){value =''}"/></p>
                            
                            <p><span class="phone"></span><input name="info[mobile]"  type="text" maxlength="30" id="mobile" class="inp" value="手机号码" onblur="if(!this.value){this.value=this.defaultValue;}" onfocus="if (this.value==this.defaultValue){value =''}"/></p>
							<p><span class="name"></span><input name="tj_code"  type="text" maxlength="30" id="tj_code" class="inp" value="推荐人手机号/留空" onblur="if(!this.value){this.value=this.defaultValue;}" onfocus="if (this.value==this.defaultValue){value =''}"/></p>
                            <input type='hidden' name='dosubmit' value='1'/>
                            <p><input type="submit" name="submit" class="btn-login" value="" /></p>
                            </form>
                        </dd>
                    </dl>
          </div>
          <div class="h20"></div>
          <dl class="ksdh">
              <dt class="right-tit"><strong>快速导航</strong></dt>
              <dd>
                  <ul class="ul-ksdh fix">
                      <li class="icon1"><a href="index.aspx">关于Viki</a></li>
                       <li class="icon2 grey"><a href="TeacherList.aspx">外教团队</a></li>
                      <li class="icon3"><a href="CourseList.aspx">课程设置</a></li>
                      <li class="icon5 grey"><a href="vedio.aspx">上课视频</a></li>
                      <li class="icon6"><a href="ReviewList.aspx">Viki学员心得</a></li>
                      
                  </ul>
              </dd>
          </dl>
          <div class="h20"></div>
           <div class="h20"></div>
           &nbsp;<div class="h20"></div>
           &nbsp;</div>
           <div class="col-r" style="width:738px;overflow:hidden;">
          <div class="right-tit right-tit-xyxs">
           <span><asp:Label ID="Label1" runat="server" style="float:left;"></asp:Label></span></div>
          <div class="c"></div>
          <div class="fix" style="padding-bottom:0;">
               <div class="">
                  <ul class="ul-list-jc ul-list-jc1">
                      <asp:ListView ID="ListView1" runat="server" DataSourceID="SqlDataSource1" 
                          GroupItemCount="1">
                          <AlternatingItemTemplate>
                                          <li>
                          <div class="l">
                              <img src="../Styles/images/Course/cover-orange.png" /></div>
                          <div class="r jc-info">
                               <h3>
                                   <asp:Label ID="book_name" runat="server" Text='<%#Eval("book_name") %>'></asp:Label></h3>
                               <p><b class="fcr">教材介绍：</b><asp:Label ID="book_info" runat="server" Text='<%#Eval("book_info") %>'></asp:Label></p>
                               <p><br />
                               <b class="fcr">适合对象：</b><asp:Label ID="book_adapter" runat="server" Text='<%#Eval("book_adapter") %>'/></p>
                          </div>
                          <div class="clear"></div>
                      </li>
                          </AlternatingItemTemplate>
                          <EditItemTemplate>
                              <td runat="server" style="">
                                  book_id:
                                  <asp:TextBox ID="book_idTextBox" runat="server" Text='<%# Bind("book_id") %>' />
                                  <br />book_name:
                                  <asp:TextBox ID="book_nameTextBox" runat="server" 
                                      Text='<%# Bind("book_name") %>' />
                                  <br />book_course:
                                  <asp:TextBox ID="book_courseTextBox" runat="server" 
                                      Text='<%# Bind("book_course") %>' />
                                  <br />book_image:
                                  <asp:TextBox ID="book_imageTextBox" runat="server" 
                                      Text='<%# Bind("book_image") %>' />
                                  <br />book_info:
                                  <asp:TextBox ID="book_infoTextBox" runat="server" 
                                      Text='<%# Bind("book_info") %>' />
                                  <br />bookk_adapter:
                                  <asp:TextBox ID="bookk_adapterTextBox" runat="server" 
                                      Text='<%# Bind("bookk_adapter") %>' />
                                  <br />
                                  <asp:Button ID="UpdateButton" runat="server" CommandName="Update" Text="更新" />
                                  <br />
                                  <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="取消" />
                                  <br />
                              </td>
                          </EditItemTemplate>
                          <EmptyDataTemplate>
                              <table runat="server" style="">
                                  <tr>
                                      <td>
                                          未返回数据。</td>
                                  </tr>
                              </table>
                          </EmptyDataTemplate>
                          <EmptyItemTemplate>
<td runat="server" />
                          </EmptyItemTemplate>
                          <GroupTemplate>
                              <tr ID="itemPlaceholderContainer" runat="server">
                                  <td ID="itemPlaceholder" runat="server">
                                  </td>
                              </tr>
                          </GroupTemplate>
                          <InsertItemTemplate>
                              <td runat="server" style="">
                                  book_id:
                                  <asp:TextBox ID="book_idTextBox" runat="server" Text='<%# Bind("book_id") %>' />
                                  <br />book_name:
                                  <asp:TextBox ID="book_nameTextBox" runat="server" 
                                      Text='<%# Bind("book_name") %>' />
                                  <br />book_course:
                                  <asp:TextBox ID="book_courseTextBox" runat="server" 
                                      Text='<%# Bind("book_course") %>' />
                                  <br />book_image:
                                  <asp:TextBox ID="book_imageTextBox" runat="server" 
                                      Text='<%# Bind("book_image") %>' />
                                  <br />book_info:
                                  <asp:TextBox ID="book_infoTextBox" runat="server" 
                                      Text='<%# Bind("book_info") %>' />
                                  <br />bookk_adapter:
                                  <asp:TextBox ID="bookk_adapterTextBox" runat="server" 
                                      Text='<%# Bind("bookk_adapter") %>' />
                                  <br />
                                  <asp:Button ID="InsertButton" runat="server" CommandName="Insert" Text="插入" />
                                  <br />
                                  <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="清除" />
                                  <br />
                              </td>
                          </InsertItemTemplate>
                          <ItemTemplate>
                             
                                          <li>
                          <div class="l">
                              <img src="../Styles/images/Course/cover-orange.png" /></div>
                          <div class="r jc-info">
                               <h3>
                                   <asp:Label ID="book_name" runat="server" Text='<%#Eval("book_name") %>'></asp:Label></h3>
                               <p><b class="fcr">教材介绍：</b><asp:Label ID="book_info" runat="server" Text='<%#Eval("book_info") %>'></asp:Label></p>
                               <p><br />
                               <b class="fcr">适合对象：</b><asp:Label ID="book_adapter" runat="server" Text='<%#Eval("book_adapter") %>'/></p>
                          </div>
                          <div class="clear"></div>
                      </li>
                          </ItemTemplate>
                          <LayoutTemplate>
                              <table runat="server">
                                  <tr runat="server">
                                      <td runat="server">
                                          <table ID="groupPlaceholderContainer" runat="server" border="0" style="">
                                              <tr ID="groupPlaceholder" runat="server">
                                              </tr>
                                          </table>
                                      </td>
                                  </tr>
                                  <tr runat="server">
                                      <td runat="server" style="text-align:center">
                                          <asp:DataPager ID="DataPager1" runat="server" PageSize="5">
                                              <Fields>
                                                  <asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True" 
                                                      ShowLastPageButton="True" />
                                              </Fields>
                                          </asp:DataPager>
                                      </td>
                                  </tr>
                              </table>
                          </LayoutTemplate>
                          <SelectedItemTemplate>
                              <td runat="server" style="">
                                  book_id:
                                  <asp:Label ID="book_idLabel" runat="server" Text='<%# Eval("book_id") %>' />
                                  <br />book_name:
                                  <asp:Label ID="book_nameLabel" runat="server" Text='<%# Eval("book_name") %>' />
                                  <br />book_course:
                                  <asp:Label ID="book_courseLabel" runat="server" 
                                      Text='<%# Eval("book_course") %>' />
                                  <br />book_image:
                                  <asp:Label ID="book_imageLabel" runat="server" 
                                      Text='<%# Eval("book_image") %>' />
                                  <br />book_info:
                                  <asp:Label ID="book_infoLabel" runat="server" Text='<%# Eval("book_info") %>' />
                                  <br />bookk_adapter:
                                  <asp:Label ID="bookk_adapterLabel" runat="server" 
                                      Text='<%# Eval("bookk_adapter") %>' />
                                  <br />
                              </td>
                          </SelectedItemTemplate>
                      </asp:ListView>
                                      <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                          ConnectionString="<%$ ConnectionStrings:vikiConnectionString2 %>" 
                           > </asp:SqlDataSource>
                                      </ul>
               </div>
          </div>
          <div class="h20"></div>
     </div>
</div>

          

 
  <div id="footer"> <div class="footWrap">
</div>

</asp:Content>
